/*
 * @Description: 
 * @Author: Dxcr
 * @Date: 2025-03-06 09:33:45
 * @LastEditTime: 2025-03-06 09:33:45
 * @LastEditors: Dxcr
 */
import store from 'store';

const TokenKey = 'Admin-Token'

// 获取 token
export function getToken() {
  return store.get(TokenKey);  // 获取 token
}

// 设置 token
export function setToken(token) {
  return store.set(TokenKey, token);  // 设置 token
}

// 移除 token
export function removeToken() {
  return store.remove(TokenKey);  // 移除 token
}